home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / dopus412-gpl / dopus_print / functions.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  2KB  |  64 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. void lsprintf __ARGS((char *,char *,...));
  32.  
  33. void main(int,char **);
  34. void get_vis_info(struct VisInfo *,char *);
  35. dopus_message(int,APTR,char *);
  36. void fill_out_req(struct RequesterBase *,struct VisInfo *);
  37. struct Gadget *addreqgadgets(struct RequesterBase *,struct TagItem **,struct Gadget **);
  38. void fix_req_gadgets(void);
  39. void border_text(struct RequesterBase *,Object_Border *,char *);
  40.  
  41. void set_print_env(PrintData *);
  42. void get_print_env(PrintData *);
  43.  
  44. void activate_next_gadget(struct Gadget *,struct Window *);
  45. get_file_byrequest(struct Gadget *,struct Window *,int);
  46. check_error(struct RequesterBase *,char *,int);
  47.  
  48. void do_print(struct VisInfo *,char *,struct DOpusArgsList *,int,char **);
  49. void get_print_default(PrintData *);
  50. void show_headerfooter_gadgets(struct Gadget **,struct Window *,PrintData *,int);
  51. void read_headerfooter_gadgets(struct Gadget **,struct Window *,PrintData *,int);
  52. void print_status(struct PrintHandle *,char *,int);
  53.  
  54. printfile(struct RequesterBase *,char *,PrintData *,struct Requester *);
  55. check_print_abort(struct RequesterBase *);
  56.  
  57. check_print_gadget(struct Window *,struct Gadget *,int,int,USHORT);
  58.  
  59. void do_printdir(struct VisInfo *,char *,int);
  60. void printdirectory(struct RequesterBase *,char *,int,char *,int);
  61.  
  62. void save_printdir_env(int,int,char *);
  63. void read_printdir_env(int *,int *,char *);
  64.